package com.mall.common.bean;

import java.io.Serializable;

public class Principal implements Serializable {

	private static final long serialVersionUID = 0x5079c475846df0c7L;
	private Long id;
	private String username;
	private String password;
	private Integer type;
	private Boolean isSalesman;

	public Principal() {
		super();
	}

	public Principal(Long id, String username) {
		super();
		this.id = id;
		this.username = username;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Boolean getIsSalesman() {
		return isSalesman;
	}

	public void setIsSalesman(Boolean isSalesman) {
		this.isSalesman = isSalesman;
	}

}
